package com.kangyi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户注册的数据格式")
public class UserDTO implements Serializable {

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("头像")
    private String headshot;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("验证码")
    private String code;

}
